package com.base.po.voip_coupon;

import java.util.Date;

public class CouponPayOrder {
    private String id;// 订单号

    private String parentid;// 代理商id

    private String userid;// 用户id

    private String productid;// 商品编码

    private String productname;// 商品名称

    private Double oriunitprice;// 原始单价

    private Double oritotalprice;// 原始总价

    private Double unitprice;// 优惠单价

    private Double totalprice;// 优惠总价

    private Integer number;// 数量

    private Byte status;// 订单状态 0未支付 1已支付

    private Date paytime;// 支付时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getProductid() {
        return productid;
    }

    public void setProductid(String productid) {
        this.productid = productid;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public Double getOriunitprice() {
        return oriunitprice;
    }

    public void setOriunitprice(Double oriunitprice) {
        this.oriunitprice = oriunitprice;
    }

    public Double getOritotalprice() {
        return oritotalprice;
    }

    public void setOritotalprice(Double oritotalprice) {
        this.oritotalprice = oritotalprice;
    }

    public Double getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(Double unitprice) {
        this.unitprice = unitprice;
    }

    public Double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Double totalprice) {
        this.totalprice = totalprice;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public CouponPayOrder() {
        super();
    }

    public CouponPayOrder(String id, String parentid, String userid, String productid, String productname, Double oriunitprice, Double oritotalprice, Double unitprice, Double totalprice, Integer number, Byte status, Date paytime) {
        this.id = id;
        this.parentid = parentid;
        this.userid = userid;
        this.productid = productid;
        this.productname = productname;
        this.oriunitprice = oriunitprice;
        this.oritotalprice = oritotalprice;
        this.unitprice = unitprice;
        this.totalprice = totalprice;
        this.number = number;
        this.status = status;
        this.paytime = paytime;
    }
}